#define _CRT_SECURE_NO_WARNINGS
#include <stdio.h>
//void test(int arr[])
void test(int* arr)
{
	int sz2 = sizeof(arr) / sizeof(arr[0]);
	printf("sz2 = %d\n", sz2);
	printf("sz1 = %d\n", sizeof(arr));
}
int main()
{
	int arr[] = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 };
	int sz1 = sizeof(arr) / sizeof(arr[0]);
	printf("sz1 = %d\n", sz1);
	test(arr);
	//printf("sz1 = %d\n", sizeof(arr));
	return 0;
}
